package com.example.factory.core.domain;



import javax.persistence.Entity;
import javax.persistence.OneToOne;
import javax.persistence.Table;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author Lei Tao
 */

//@Entity
//@Table(name = "report")
public class Report extends DomainObject{
    /**
     * 报告单编号
     */
    private String number;

    /**
     * 报告人
     */
//    @OneToOne
    private UserEntity reporter;

    /**
     * 评分人
     */
//    private UserEntity rater;

    /**
     * 发现问题
     */
    private String problem;

    /**
     * 提出建议
     */
    private String advice;
    /**
     * 报告提交时间
     */
    private LocalDateTime submitTime;

    private List<ReportEquipment> reportEquals;


}
